package com.qd.panda.model;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


/**
 * 车位号
 *
 * @author sjk
 */
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("panda_park_space_number")
public class ParkSpaceNumber extends Model<ParkSpaceNumber> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 熊猫泊车车位号
     */
    @TableField("sys_space_number")
    private String sysSpaceNumber;
    /**
     * 车位号
     */
    @TableField("space_number")
    private Integer spaceNumber;
    /**
     * 停车场
     */
    @TableField("park_id")
    private String parkId;

    public void freeData() {
        this.id = null;
        this.sysSpaceNumber = null;
        this.spaceNumber = null;
        this.parkId = null;
    }

}
